package com.ete.lib.upload

/**
 * Author:LiXian
 * <p>
 * Desc:常量
 * Version:1.0
 * date 2024/1/8 13:52
 */
object UploadConstant {

    const val ERROR_ONT_PERMISSION = -1
    const val ERROR_ONT_SCR_FILE = -2
    const val ERROR_ZIP_EXCEPTION = -3

    const val TIME_FIFTEEN_SECOND = 60L

    const val SYMBOL_SLASH = "/"

    //正式环境
//    const val DEFAULT_BASE_URL = "https://device-api-pt.shjkkc.com/"
    //测试环境
    const val DEFAULT_BASE_URL = "http://120.79.6.11:9527/"

    const val ZIP_FILE_EXTENSION = "zip"

    //设备类型 1、主机 2、单机
    const val UPLOAD_TYPE_HOST = 1
    const val UPLOAD_TYPE_SUB = 2

    //连接类型 1、2.4G 2、BLE蓝牙 3、涂鸦 4、5.8G 99、其他
    const val CONNECT_TYPE_24G = 1
    const val CONNECT_TYPE_BLE = 2
    const val CONNECT_TYPE_TUYA = 3
    const val CONNECT_TYPE_58G = 4
    const val CONNECT_TYPE_OTHER = 99
}